package com.starlink.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城书籍配送信息请求模型")
public class MallBooksShippingRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("商城书籍订单ID")
    private Long mallBooksOrderId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发货时间")
    private Date shippingDate;
    @ApiModelProperty("物流追踪编号")
    private String trackingNumber;
    @ApiModelProperty("配送方式")
    private String shippingMethod;
}
